import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { Exception403Component } from './exception403/exception403.component';
import { Exception404Component } from './exception404/exception404.component';

const routes: Routes = [
	{
		path: 'exception/403',
		component: Exception403Component,
	},
	{
		path: 'exception/404',
		component: Exception404Component,
	}
];

@NgModule({
	imports: [RouterModule.forChild(routes)],
	exports: [RouterModule]
})
export class ExceptionRoutingModule { }
